Skip to content

Fix QA: drop stale Test dep and resolve re-exported integrator accessors#152

Draft
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:qa-fix-stale-test-dep-undefined-exports
Draft

Fix QA: drop stale Test dep and resolve re-exported integrator accessors#152
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:qa-fix-stale-test-dep-undefined-exports

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

What (rebased onto current main, 2026-07-05)

Rebased onto main (now at #156 "QA: run_qa v1.6 + ExplicitImports"). The QA parts of the original PR are already on main via #156 and were absorbed by the rebase:

The only surviving change is the GPU CI harness fix (test/runtests.jl, +31/-1), which is still needed: GPU Tests is red on main with

ArgumentError: run_tests (folder mode): GROUP="GPU" is not "All"/"Core"/"QA" and is not a group declared in test_groups.toml (declared: ["Core", "QA"]).

GPU is a capability lane (same Core files on a CUDA runner, where CUDA.functional()-gated testsets self-activate), not a folder. Switched to explicit-args run_tests (core = the 9 Core files; groups = {"GPU" => core_body}; qa = test/qa; all = ["Core"]). This is the documented SciMLTesting explicit-args API.

Verified locally (Julia 1.12.6, released SciMLTesting 1.6): routing is correct — GROUP=GPU → Core body (no ArgumentError), GROUP=Core → Core, GROUP=All → Core, GROUP=QA → QA. test/runtests.jl parses cleanly and is Runic-clean.

Out of scope / pre-existing (NOT introduced here)

Core (julia 1 = 1.12, julia pre = 1.13), all OSes: Julia 1.12+ LLVM codegen segfault. signal 11 at test/DeepBSDE.jl:19, in emit_unbox/emit_unboxed_coercion (codegen.cpp) while JIT-compiling the Zygote adjoint of the DeepBSDE ensemble SDE solve. Reproduces byte-identically on unmodified main (master run 28647091704, job 84956919471 — same signal 11, same DeepBSDE.jl:19). Core lts (1.10) is green with identical resolved deps, so this is purely a Julia-version codegen crash, not a HighDimPDE logic bug and not fixable in-package. Untouched by this PR.

Please ignore until reviewed by @ChrisRackauckas.

…n_tests

The GPU.yml workflow runs the suite with GROUP="GPU", but the folder-discovery
run_tests() only accepts All/Core/QA plus groups declared in test_groups.toml
(Core, QA), so it errored: GROUP="GPU" is not a declared group. GPU is a
capability lane, not a folder of files — it runs the *same* Core files on a
CUDA-equipped runner so the CUDA.functional()-gated testsets in reflect.jl /
MCSample.jl self-activate. This cannot be expressed as a separate folder.

Switch to explicit-args run_tests (the DeepEquilibriumNetworks.jl convention):
core = the 9 Core files in their original runtests order; groups = {"GPU" =>
core_body}; qa = test/qa; all = ["Core"]. GROUP=GPU now routes to the Core
body, matching the pre-v1.2 dispatcher where GPU fell into the non-QA branch.

Verified locally on Julia 1.10 against SciMLTesting v1.2: GROUP=GPU -> Core,
GROUP=Core -> Core, GROUP=All -> Core, GROUP=QA -> QA. Runic-clean.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisRackauckas-Claude ChrisRackauckas-Claude force-pushed the qa-fix-stale-test-dep-undefined-exports branch from b3d328d to 0f49cd5 Compare July 5, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants